import { restProxy } from '@/api/index';
import { IVersionVo } from '@/api/dto/version';

export function queryVersion (): Promise<IVersionVo[]> {
  return restProxy({
    url: 'https://jianmu.dev/versions/ci',
    method: 'get',
    auth: false,
  });
}
